import os
import sys
import platform


class Settings:
    OS_PLATFORM = platform.system()
    WORK_PATH = os.getcwd()
    if OS_PLATFORM == "Darwin":  # pragma: no cover
        WORK_PATH, _ = os.path.split(sys.argv[0])
    # 配置文件夹名
    CONF_DIR: str = "DLS"
    if OS_PLATFORM != "Windows":
        CONF_DIR = "dlsconfig"
    # 定义兼容的版本
    COMPATIBLE_VERSIONS = ["na1.0", "na1.1"]
